Skip to content

Fix oracle validation: add test for exact staleness boundary#360

Merged
hman38705 merged 1 commit intosolutions-plug:mainfrom
techisigu:fix/oracle-validation-staleness-boundary
Mar 28, 2026
Merged

Fix oracle validation: add test for exact staleness boundary#360
hman38705 merged 1 commit intosolutions-plug:mainfrom
techisigu:fix/oracle-validation-staleness-boundary

Conversation

@techisigu
Copy link
Copy Markdown
Contributor

closes #259

  • Add test_accept_price_at_exact_staleness_boundary() test
  • Verifies age == max_staleness_seconds is accepted (not rejected)
  • Fixes Cargo.toml LTO/embed-bitcode conflict for test builds
  • Ensures spec compliance for boundary conditions

Resolves testing gap for oracle validation staleness checks.

- Add test_accept_price_at_exact_staleness_boundary() test
- Verifies age == max_staleness_seconds is accepted (not rejected)
- Fixes Cargo.toml LTO/embed-bitcode conflict for test builds
- Ensures spec compliance for boundary conditions

Resolves testing gap for oracle validation staleness checks.
@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 28, 2026

@techisigu Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@hman38705 hman38705 merged commit 95b0d54 into solutions-plug:main Mar 28, 2026
2 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Staleness validation boundary tests for oracle prices

2 participants